home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / UTILS / HSBASIC2.DMS / in.adf / HB2Examples1.3.Lha / Examples / IFF_ILBM / ReadMe < prev    next >
Encoding:
Text File  |  1994-05-03  |  1.7 KB  |  39 lines

  1. IFF_ILBM.BAS Display an IFF picture on its own screen
  2. =====================================================
  3.  
  4. This example shows the use of the IFFParse library to read an ILBM picture file
  5. and shows openning an appropriate screen and displaying it. This example
  6. "understands" about the new version 39 (Workbench 3) facilities and so will
  7. generate the correct, higher resolution, palette of AGA chipset machines
  8. whilst displaying older files appropriately.
  9.  
  10. This example also shows use of the OtoTaglist program. This is provided ready to
  11. run in the Tools drawer and as source in Examples/OtoTaglist. OtoTaglist converts
  12. an assembly language linkable object file into a form that can be used directly
  13. from BASIC without the need to use a Linker. The file produced by OtoTaglist
  14. stores the machine code in an array and you can use CALL LOC to call this.
  15. The Unpackrow rouine used by this example is called in this way.
  16.  
  17. The example will work on versions of Workbench 1.3 or later. There's a lot
  18. of conditional code that you may wish to remove if your program is only going
  19. to run under new versions of the operating system.
  20.  
  21. Compiling
  22. ---------
  23. Load the iff_ilbm_inc.bh file and Tokenise it (Program-Tokenise), making
  24. sure you have no token file selected in the File Options (Settings-Compiler-
  25. Files). Once you have your token file, set the File Options-Token File setting
  26. to the iff_ilbm_inc.t file just created. Set up the command line via the
  27. Program->Arguments menu item to be the picture to display.
  28. Load the iff_ilbm.bas file, compile this, and run it.
  29.  
  30. If you make changes to the UnPackRow.s file, you will need to assemble it
  31. to produce a linkable file UnPackRow.o with your assembler and then use
  32.  
  33. OtoTaglist UnPackRow
  34.  
  35. to re-convert UnPackRow.bas
  36.  
  37.  
  38.  
  39.